Fix for requestAnimationFrame on IE10 and Firefox

...or each