Fix multi-IDAT PNGs handling