Drag the tab.
There is a bug where holding your mouse while not on the light gray, then moving to the light gray will make the tab snap to your mouse. It’s weird and I’m too tired to fix it.