fixes System.InvalidOperationException when simultaneously rendering multiple images