Backout 47845138fae1 (bug 996148) because the solution from bug 997227 is better. r=backout.
Bug 997227 - Entering and exiting tabview makes items in tabs toolbar collide with fullscreen button. r=Gijs, MattN.