fix flicker on chrome