Fixed the activeMenuItem