Cover instead of contain
https://scratch.mit.edu/users/Sheep_maker/#comments-144464596
This leaves black bands on the dimensions of the project. In fact, to be precise, I would like the project to be stretched from the middle to the smallest length of the screen. This means that the longest part of the project will overflow and that we will only see the project according to the size of the smallest stretched length. This could be useful for a platform project for example where a few pixels don't change the game. (in my case too) Just make sure that the image is stretched from the image is stretched from the centre and not from a corner
This is an exemple of my idea :
Maybe scale up the stage (keep aspect ratio) and then crop off edges of the longer side (like background-size: cover;)