fix #1082 'Tab' doesn't behave as 'enter' when defined as a selection key