I believe I managed to figure it out. It seems that because I wasn't using the apply method in the render method to both viewports, they weren't functioning properly.