Fixed ragdoll issues

Also fixed a bug with level creation in infinite level