Fixed bug where the buttons from main menu were still clickable even
when a new fragment was on top of it.