Fixed broken layout on icon-only tabbar and text-only tabbar.