fixed some weird crash when collision distance is zero, ignoring for now