Fixed some root motion scripts