Fix moving tab to front of the list