fix navbar blink issue on chrome windows