Don't close menus when clicking on PopupSwitchMenuItem elements, closes #1829