Game Crashes on Switching Workspaces

Recently switched from Windows 11 to Fedora, and I am pleasantly surprised to see almost all of my games runs with little to no tweaks. There is only one problem though, whenever I change workspaces (using the three finger gesture on GNOME) while focused on the game, the game crashes. This also happens with Steam.
System: Fedora 37, GNOME