Proper screen resolution when toggling fullscreen