resolved fullscreen and rotation bugs