Make sure your settings look similar to
https://github.com/microsoft/wslg/is...ent-2201566425
It might be possible that the settings are applied only after a WSL restart. If you're not sure how to do that just reboot windows.
Once the settings are correctly applied they should behave the same in all environments installed under the WSL virtual machine.
If that's not the case please double check that you can reproduce the same issue in any other linux GUI app. Never discard a regression in WSL