Fix for #953 - Menus should pass the selected menu item to the triggered action.

Any reason this change is bad?