Popup menu improvements (visibility, selection)