Runtime fullscreen toggle

You need to make sure to always set the size to a reasonable resolution size when going to fullscreen. I’m not sure why your window is becoming larger but I do know that you can’t always rely on the window being of a size that is appropriate for fullscreen mode.

I do want to point out that this thread is no longer very relevant since fullscreen toggle is nowadays implemented out of the box in Panda.