Tabs: Prevented overlapping during loading and view changes

Fixes #6248