Weird transparent box around windows in KDE wayland

I’m getting this weird transparent box around new windows in Wayland (this doesn’t happen in X11). It goes away if I move the box a bit. Any idea what’s happening, or how to fix it?