Fixed corrupted PNG files (#2975)