Minor bugfix related to fullscreen toggling