Fix issue with viewport draw caused by large x/y
Merge pull request #273 from duncanspumpkin/fix_viewport

Fix issue with viewport draw caused by large x/y