Fixed bug with browsers with requestAnimationFrame

Browsers with requestAnimationFrame weren't using requestAnimationFrame. Now they do.