fix blinking menu bug in chrome