Moving tabs not working well on Ubuntu 20.04 and Unity Desktop

When I try to move a tab left or right it doesn’t do that, it always takes out the tab and creates a new window with the tab. I can’t put the tab back with the other tabs.
I’m using Ubuntu 20.04 and the Unity Desktop.