basis.animation: try to use `cancelAnimationFrame` first, instead of deprecated `cancelRequestAnimationFrame`