Merge render target pooling bug fix from @RayBatts