Refactored RenderTarget creation