Fixed issues with TopBarMenuItem and tabBar.