fix bug when use inversekinematics