fix fullscreen issue