Broken textures after resuming from sleep

After resuming from sleep, it seems that several textures are broken completely. When it is possible to force a refresh, everything works. But when no refresh is possible, everything remains until reboot. It seems that this description is somehow similar:, but I do not see anything around windows. This is an example:
That question is related to Unity and I’m on KDE Plasma, so it seems both are affected.
Anyone who knows if there is a fix for this? Thanks!