Fix problem with navigation bar.