Fix fullscreen handling.
Actually fix fullscreen handling (mostly)