Follow the instructions below. Bascially, log out, select Plasma X11/Xorg, log in.
Once done, test it to see if the issue still occurs. If it doesn’t (it probably won’t), then you know it’s very likely a compatibility issue with Wayland and Nvidia.
If it does happen, then we can troubleshoot more.
Whether it still happens or not, please let us know.