Somewhat distasteful hack to fix #3469 (broken keyboard-entry of pan values)