Need help in solving this issue

Some weird rotation is happening

Screen Recording 2025-11-03 at 9.55.08 PM.mov

I have explained the issue in the video itself

untitled.rev