fixed fullscreen bug