fix repaints in chrome 38