Fix mouse focus for ToggleFullscreen on OSX.