Fix display of some formats of PNG image.