I fixed this annoying behaviour changing the window decorator configuration in compizconfig-settings-manager.
Install compizconfig-settings-manager, then go to "Window decoration" and click the option "Reset setting..." in "Command".
After clicking that, the new command should be: /usr/bin/compiz-decorator
I fixed this annoying behaviour changing the window decorator configuration in compizconfig- settings- manager.
Install compizconfig- settings- manager, then go to "Window decoration" and click the option "Reset setting..." in "Command".
After clicking that, the new command should be: /usr/bin/ compiz- decorator