Fix keyboard focus not being reset when no control with keyboard input is selected