Download Plot PNG different from graph

I have used a combination of auto margin and margin to have my graph always fit on the screen.

However when I try to then download the image it ends up looking quite different.

Image on screen

Image after downloading png

(The data is company related so I’ve hidden it)

So basically the writing is slanting in the first one. And the ticks are overlapping the x axis because the image was moved up in the first one.

I was wondering if anyone had any ideas.

Many thanks

That sounds like a bug on our side. Would you mind sharing the "data" and "layout" you used to make your graph?