Compatibilidad requestAnimationFrame