fix active menu item with nested menus