Fix PixelSegmap table creation