Ubuntu 10.04 Lucid: Is there a way to fix the maximize window malfunction?

view full story

http://askubuntu.com – I've noticed sometimes when I maximize an application window it shifts up and down on the screen upon clicking on it. The window header shifts upward off the display and then the bottom of the window shifts below the display. The window shifts up, then down, every time it's clicked and the program only responds to mouse commands half the time. Finally, after clicking the X or square buttons long enough the program will close or pop back to un-maximized form and continue normal operation. Maybe there is a mouse or window setting somewhere I have overlooked, but if this is a feature I don't (HowTos)