Added support for handling viewports with offset origins, and with it split stereo.