Fix crash with invalid radius