Fixed error with unragdolling