fix: support mozRequestAnimationFrame