remove cleanup of Model::_jointStates tree

the cleanup causes crashes and broken models
fix bug: variable should be float rather than int
Merge pull request #3264 from AndrewMeadows/ragdoll

fix for bad models and some crashes