window: Grab focus to the EF only if it's still the current tab