640x480 "flash screen" only whitens 544x416

Hi everyone! I've encountered the following bug/glitch:

I have installed Yanfly's core script and set the screen resolution to 640x480. When using the "Flash screen" command in an event, it only flashes the middle 544x416 portion of the screen. I've checked Game_Screen and it doesn't explicitly use 544,416 anywhere. Why is the error happening and how can it be fixed? Thanks in advance.
It is probably has to do with the script's resolution.

You don't post the script and I am too lazy to do your work, so sorry, I won't search for that.

But here is how I fixed something similar to a Khas script.

http://forums.rpgmakerweb.com/index.php?/topic/35333-luna-engine-and-khas-awesome-light-effects-problem-with-full-screen-effect-compatibility/
Try it in a new project and verify it is not a script issue.

Original thread: https://forums.rpgmakerweb.com/threads/640x480-flash-screen-only-whitens-544x416.35410/