Fixed an animation jumping issue in Chrome.