Quit hook and fullscreen games fix