Error in 'pointInConvex' when the boundary belonged to 'inside' and point was on extended line of a boundary segment