Fix tabs to show selected tab.