fix fullscreen errors