Fixed compatibility issues with capsule collider.