Shadows path fix

The shadows now use the actual path for the shape they are rendering a shadow for, rather than just assuming they know that it will be a rectangle with a certain corner radius.

Fixes #94