BUG: Wasn't setting viewport params prior to rendering text