Fix bug with tab header in wrong position after adding a new tab beyond
2
tabs