fix issue where data was referencing frame instead of doc size

Caused the content to be scrollable horizontally when legacy scrollbars
were enabled.
Merge pull request #106 from jwilling/fix-incorrect-data-size

Fix incorrect content size