fixes incorrect handling of polysize when element type is ELEMENT_TYPE_BOUNDARY_CONTOURS

polysize in this special case is always 2. for each element, the first value is the index into the vertex array, the second value is the number of vertices