A temporary solution is to restart kwin by running setsid kwin_x11 --replace &
A temporary solution is to restart kwin by running killall kwin_x11