Fixes a performance regression when disabling the centerView shadowPath

Fix for a scrolling performance regression when removing the shadowPath #155.