bugfix leg.scheduleMove()