Fixed a bug in use of wholeBodyDynamicsTree with skin contacts