fix inCircle2d()