Fix a bug when closing the first tab