Desktop freaks out when waking from sleep in Wayland on Nvidia

Maybe it has something to do with my vram? I have 8gb of swap memory and 16gb of RAM and this post had the same kind of issue. The fix was increasing the swap memory so I could try that.