Close button disappears after unpinning a tab in vertical tabs mode

When using Brave with the vertical tabs layout enabled, the close button disappears after pinning and then unpinning a tab.

The close button only becomes visible again when changing the tab’s position, such as reordering it or dragging it as if to move it.

Steps to reproduce:

  1. Enable the vertical tabs layout.

  2. Pin any tab.

  3. Unpin the same tab.

  4. Notice that the close button is no longer visible.

Expected behavior:

The close button should reappear immediately after unpinning the tab.

Actual behavior:

The close button remains hidden until the tab is reordered or dragged.