Fixed bug of setting movement speed to movement position