This should fix the issue, I don't understand why it's not a default setting honestly. Go to Settings > Browser and scroll down to "User interface" and select "Disable tab bar's top spacing when browser window is maximized."