KDE glitching after using secondary display monitors

Hello

I seem to be having a problem with KDE and its themes and colors after disconnecting a display monitor. After unplugging a monitor, the Plasma theme and global theme just turn black, and the animations seem very choppy. I tried killing plasma and restarting it, but that didn’t work out to well. The only thing that seems to fix it (except for rebooting of course) is logging in and out again, but you can see that this isnt exactly a fix to the problem.

Does anyone have any idea as to what can be done?

thank you