Image size bug preview/edit mode

Hello everyone!

I have a weird bug.


Sometimes, for no reasons, image can change size like this. Usually it happen when I change resolution in edit mode or preview mode to check if everything is responsive. The problem disappear when I click on preview and go back to edit mode, but I just want to know if it happen to someone else or if you have a solution to fix it?

Thanks !