Set target for renderer, some work on viewports.