fixing fake extreme point in a line2d