This allows overriding the render target scale when rendering windows and makes use of it in the screencasting plugin.