Bugfixes to adaptive integration with articulated bodies