nav flicker bugfix