Fixed bug where RenderTexture was using X-coordinate parameter for both X and Y values.