MZ Make flash cover the entire screen?

Is there a way to flash the entire screen? For some reason it ignores all the UI elements, and it looks bad. Most of it is VisuMZ and HUDMaker, but I doubt it would matter if you could just make flash cover the entire screen regardless of it's elements.
Showcase of the issue.
Could try use a show picture command instead.
Show Picture + Move Picture doesn't affect the UI as well. Good try however, I tried it, but this doesn't work.
Update: I didn't found a way to change the flash, but I found the script to remove the layout, so I managed to get the important parts right. The script is SceneManager._scene._windowLayer.visible = false

Original thread: https://forums.rpgmakerweb.com/threads/make-flash-cover-the-entire-screen.177758/