remove artifacts from batch rendering