Fix complete tab collapse