workaround for old qt webkit `requestAnimationFrame`