Updating the issue:
Changing the initial layout didn't solve it
Changing the Eventsheet from the initial layout did not solve it
Starting the game in a ''white layout'' did not solve
Deleting all layouts didn't solve it
Deleting all eventsheet did not solve
Deleting the global variables didn't solve it
Apparently this only happens when I export in NWjs format, webview2 works