A glitch that comes from the KDE graphical environment

Guys, I have a problem with KDE. For a few months now, I’ve been noticing that when I have minimized windows open and move them around, it causes a couple of graphical glitches, such as flickering edges out of place, or part of the window being duplicated (which I rarely see). What exactly is happening?