Set background opacity when displaying menus