Fixed #72. The offset of the shadow wasn't being taken into consideration when expanding the frame.
Merge pull request #76 from ChrisGrant/bugs

Fixed #72.