Fix popup menus on OS X