Minor fix in the AnimationFrame fallback implementation.