Fixed a few issues affecting insets and offsets in orientations other than portrait.
Merge pull request #51 from timvandekamp/master

Fixed a few issues affecting insets and offsets in landscape