fix little bug in PlayerMotion