If you think Mozilla Firefox is doing bad UI choices by making tabs float instead of clearly separating them, you can still avoid it all by disabling this UI codenamed proton :
- type about:config in your address bar and confirm you want to make changes
- enter browser.proton.enabled in the search bar and hit enter
- toggle from true to false this boolean value
Problem fixed !