Fix 'libpng error: IDAT: invalid distance too far back' error with libpng 1.6.3