Switching apps on macOS Sonoma 14.4.1 not working

Whenever you switch between apps (alt tab) out of Heroes, and then you get back to Heroes, there’s a black screen that stays and you aren’t able to move or do anything. You can still switch back to other apps which will work.

The only way to fix this is by quitting Heroes. This is not how it should behave and different to macOS Ventura