delay SetFocus() when switching tabs (fixes issue 2702)