How to fix random erroneous behaviour of application windows when using compiz?

view story

http://askubuntu.com – I am not sure whether you have faced this. Since we have switched to compiz as the window manager, the application windows show the following erratic behaviour at irregular basis for both of my machines (different brands, different monitors, both running regularly upgraded versions of Ubuntu), The windows once minimized and then maximized, move from one workspace to another. Sometimes I loose a window, it can not be found in any of the workspaces. I have searched each and everyone of them. Some application windows, once minimized and them maximized, change in size, mostly becoming larger. S (HowTos)