Fixed safari jitter animation bug