Fixed crash with empty bodyweight