minor fixes regarding render target