Fix stuck motions