Issues with Bitmap Block Transfer

Hello I'm currently working on implementing a menu for a project and stumbled upon an odd problem,
Here is all the relevant code to this issue
The issue is with the Status Card Window.
The window loads fine, however when I first load the Menu Scene (all subsequent times the menu is loaded there are no issues) the blt (line 42) function draws nothing and the contents of the window remain empty.

If it helps, if I try to print the bitmap width and height properties it returns 0 the first time the menu is opened, and again all subsequent times it print out the correct value.
Image of the menu if it helps :
Default the first the the menu opens :

Intended :
Wg2HgUI
Your image isn't loaded into memory in time. That's why it works the second time you call it up because by then, your first call loaded it in (just didn't have time to display it). I'm not yet sure what the code is to make sure it waits until the image is ready to be displayed before the scene shows but I highly suspect you'll find it in the main menu scene. If you try to display a face image for the first time, it does the same thing you are experiencing but the main menu doesn't suffer from this issue so it must be making sure all of the face graphics are in memory before drawing the window.
Thank you very much, moving the reserving of the images a bit earlier fixed the issue.

Original thread: https://forums.rpgmakerweb.com/threads/issues-with-bitmap-block-transfer.91965/