[Mac] Fixed toggleFullScreen