Fixes tab layout for all browsers (finally).
Fixes tabs not relayouting on resize.