work around chrome flicker bug