Some bugfixes to articulated body stuff