Fix some bugs regarding radial detection.