Meta+Middle Click (used for minimizing application) doesnt work for fullscreen games

I got some steam games (mostly wine) that have problems minimizing when using meta+middle click. It would work at first but clicking onto another window or the desktop background brings up the minimized application back fullscreen. Same thing happens when I go to the application launcher, try to minimize the app by right clicking on the taskbar and checking the minimize box. Any suggestions?

Nobara 38
KDE Plasma: 5.27.9
QT version: 5.15.11
Kernel: 6.6.3-202
Wayland