fix fullscreen switch