Fixed the "file not found" bug for .png files.