How to disable the menu on top of the window?