[BUG #7215] Don't duplicate styles when the decorator element is wrapped