fix for toggle fullscreen