Fix to nslices in pngappend