Focus not changing to already opened tab