Use requestAnimationFrame with a sprite instead.