Fix moving current tab when it is the active tab

When the current tab is the active, do not move it next to the
leftmost tab, but instead keep it as the leftmost one.