RectangleLine knows when it does not contain a point
Found Java Line and replaced RectangleLine with it; rectangle knows that a point on its border is inside of it
Checking that rectangle does not think that its borders extend infinitely