Bug fix: Creating a render target before running