MidpointLine fixed.