Clamped movement works

-Uses a workaround which I don't totally understand.
Clamped movement works

-Not sure how
-Not sure why I needed two commits