Fixed near outline check of a polyline ROI