Fixed lineIntersection and added left, right, top & bottom to ioPoly