fixed: menu item could be unselected on the correct page