Merge pull request #8437 from JosJuice/batch-render-to-main Disable render to main when using batch mode