fixed rendering to image
Merge remote-tracking branch 'origin/master'