Changed the requestAnimationFrame variable