requestAnimationFrame for Safari.