feat(components): change shadow boundary to ignore duplicate styles

Closes #1423