Switch to fullscreen from windowed mode bugfix.