Create a fix around a bug in FF 25 which triggers requestAnimationFrame too quickly