Iron out a bunch of stuff regarding viewports