Workaround for library leak when switching between profiles.

-Added extra visible condition for all widget includes (where possible).
-It might not be necessary for all include types (widget types), but still implemented to be on the safe side.

The Confluence skin was used as an example for the added visible condition.