Fix bug in rendering navbar for IE