Fixed navigation bar positioning bug