fixed werid window menu issue in osx client