Viewports now identified in shader properly