Fixed a walking bug

was created with the addition of picking up objects