Update shadow path on layoutSubviews

Needed to ensure that the shadow path has the right size