Prevent loss of focus when clicking on combobox menu

Fixes #963