Make setMenuTitle work for top-level menus on mac.