fix problem with non-fly-out menus