Disable input method menus on Mac and Win32