fix gc of requestAnimationFrame