How to prevent the size or scale of image plot by go.Image() or px.imshow() to be affect by go.Scatter()?

After adding go.Scatter() to my go.Figure(go.Image()), the scale or size of the image plot are affected.
I set the width and height of the layout through this
fig.update_layout(
height=864,
width=1536,
)
my go.Image() will occupy the entire layout before adding go.Scatter().

Anybody has idea how to to fix this ??