Restore tab window before tab width calculation