Fixed navbar showing wrong elements