Tabs: Fixed removal of the wb-inv class that is used to prevent FOUC (Flash Of Unstyled Content)

Fixes #6333