Fixed a few issues affecting insets and offsets in landscape