Apex Legends(fullscreen mode) crashes or black-screen after switching to other window (alt+tab)

When I try to switch windows or go to the desktop or even just trying to open the application launcher using the “super” key, Apex Legends when in fullscreen mode crashes and shows black-screen. This doesn’t happen when the game is running in windowed mode.

Also, this happens only when the game is running at non-native resolution.

Tried using both the latest nvidia 555 and vulkan dev drivers.
Tried using different proton versions.
Tried unchecking the “allow applications to block compositing” option.

the issue persists, Please Help !