Fixes display of tabs.