Fixes a performance regression when disabling the shadowPath property on the center view.
Added shadow optimization for when displaying shadow path to prevent unnecessary path calculations.
Merge pull request #177 from mutualmobile/shadow-performance

Fixes a performance regression when disabling the centerView shadowPath