move the visualization of radius pos to the if statement