Go to Menu > Settings, select Browser, scroll to the bottom and select Show Advanced settings. Under User Interface, you'll now see a setting "Disable tab bar's top spacing when browser window is maximized" (or whatever that is translated to in your language). Enable that, the spacing should go away.