Fix bug regarding root joint position for composite robot.