I was only able to get a new window to open while switching tabs if I "accidentally" fail to release the mouse button while switching and moving the mouse back into the tab. This triggers the tab onto a new window in Firefox no matter what site you are visiting. I'm going to assume this is what was happening, because I can't reproduce it any other way. In this case, it's not a bug, but the expected browser behavior.