can't you just copy the game and then make the window size smaller or smth?
There is an easy way out where I can just blit everything to a separate surface, resize it, and render it to the window, but it'd double the lag unfortunately :(
Go into settings after selecting a level [ESC to pause > click on settings] change the window mode from borderless to windowed.
I'm reading these in order of comment just STOP