fix viewport being reset to 800x600 on ui-show
Merge pull request #67 from asdil12/display_viewport

Fix viewport being reset to 800x600 on ui-show