This is most likely compiz. Run metacity --replace in a terminal and see if the the problem still happens. If not, then the problem lies in compiz as that's the window manager.
This is most likely compiz. Run metacity --replace in a terminal and see if the the problem still happens. If not, then the problem lies in compiz as that's the window manager.