Fix bug with click on menu bar