Improve the implementation of the render target usage.