fix repaint glitch chrome