Invisible (glitchy) Inactive window Compiz

I don’t know what to do now, the problem is that the inactive window is either invisible completely or it glitches. I don’t know what to do now, could anyone help me with this?