RPG Maker MZ toogle fullscreen freeze

I'm using the trial version of RPG Maker MZ and when I press f4 to go full screen and press it again to close full screen, my computer freezes. It also happen when I manually update nw.js of MV to the newest version. Maybe it is because of the nw.js

Anyone have encounter the same issue and figure it out how to solve it?

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mz-toogle-fullscreen-freeze.126842/