Fixed a bug where the render target would not scale correctly.