Fixed requestAnimationFrame