Make getImage return undefined if there is no region to draw
Merge pull request #209 from campaul/get_image_no_content

Make getImage return undefined if there is no region to draw