Fixes the positioning of the nav bar.