Add setViewport proxy

Takes an object with width and height (in pixels)