Fix the Chrome animation flash bug