Keep focus in hidden tabs