Fixing NullPointerException when enabling the radius