Use bounds instead of frame in the delegate method asking for invalidation.
Invalidate layout on bounds change.
Merge pull request #342 from nxtbgthng/feature/invalidate-on-bounds-change

Invalidate Layout on Bounds Change