Fixed bug in collapsed menus