fix renderImage invocation
Merge pull request #4 from chrox/fix_1014

fix renderImage invocation