fix topbar layout on firefox