Selectmenu: close menu on other element mousedown not on click