fix requestAnimationFrame call.