Changed clip-path to be treated as an attribute instead of a style. Treating as a style was causing the clip path to incorrectly get applied multiple times to child elements.