No, your problem is that you are dragging it outside the tab bar and releasing it. The thing is you probably do it so quickly that you perceive it as how you stated it. It used to happen to me too. I just learned to move tabs more slowly. Now it happens extremely rarely.
I'm using Firefox.