fixes System.InvalidOperationException when simultaneously rendering multiple images
Merge pull request #19 from slavashar/master

Fixes simultaneously rendering multiple images