MZ Display a background image in a save file

​
I would like to create the background of the save file by referring to the thread in the link above. But there's a problem.

JavaScript:
  Window_SavefileList.prototype.drawItemBackground = function(index) {
      const rect = this.itemRect(index);
      const bmp = ImageManager.loadPicture('ui_savebg');
            this.contentsBack.blt(bmp, 0, 0, bmp.width, bmp.height, rect.x, rect.y);
        }
    };
I applied the Plugin to my project. However, the problem is that the background is only displayed if the save file exists.

When save file exist :
2.jpg


When save file not exist :
1.jpg

Original thread: https://forums.rpgmakerweb.com/threads/display-a-background-image-in-a-save-file.166978/