Fix bug in selection/focus when allowMultiSelect is false