Problem with curve & deform modifier animation

Hey blender community,I have Problem in animation with curve modifier. If you see the gif, the curved box should stay while rotated, but in render view, sometimes it moves along the path instead just rotate. I tried google and applied the scale on the curve and turned of the curve deform but still no luck.The cube supposed to stay on the purple curve (see picture)

Does anyone have a clue what happened & how to fix it? Thank you!

GIF here

Blend file (I use octane render)