Fix handling of pixel polygon numbering after extract.