I'm afraid WebView2 doesn't appear to have a way to control this at the moment - there's this feature request for it though.
Unfortunate--this seems like a pretty big annoyance for using Webview2 for games on platforms like itch.io or Steam, where programs are (usually) expected to be "self contained". Hoping they do something about it soon!