Heatmap cells disappear beyond specific fig width

I have noticed heatmap cells become invisible in some situations when a certain fig width is exceeded. Is this a bug? Here is a working example where the heatmap cells disappear when the figure width exceeds 66941px:

from dash import Dash, dcc, html
import plotly.graph_objects as go

app = Dash(__name__)

app.layout = html.Div(
    children=[
        dcc.Graph(
            figure=go.Figure(
                go.Heatmap(
                    x=[i for i in range(1000)],
                    y=[1],
                    z=[[i for i in range(1000)]]
                ),
               # This scatterplot renders fine beyond 66941px
                # go.Scatter(
                #     x=[i for i in range(1000)],
                #     y=[1 for _ in range(1000)],
                #     mode="markers+lines"
                # ),
                layout={
                    "xaxis": {
                        "range": [0, 999]
                    }
                }
            ),
            style={
                # Heatmap cells invisible at this width
                "width": 66942,
               # Heatmap cells visible at this width
                # "width": 66941,
            }
        )
    ]
)

if __name__ == "__main__":
    app.run_server(debug=True)

Here are some visuals:

66942px

foo

66941px

bar