Inconsistent behaviour of menus