bugfix for fullscreen