Fixed mouse setting dialog popup from context menus.