Fix display of headings in the navigation bar