fix rootmotion caculate timing error