- Press Ctrl+Alt+F1 and get the terminal screen. Log in with password.
- In the terminal type killall -v -9 compiz
- Close the terminal and launch unity by pressing Ctrl+Alt+F7
Also avoid maximizing the window size to full screen. In the System Settings-->Appearance-->Behavior , For 'Shows the menus for a window' choose 'In the window's title bar'.