Bad length for IHDR chunk fix #AM-188