Fix issue #501

fixes pinned tabs issues in some skins