Do not draw image if image is null
Merge pull request #161 from elemoine/nullimage

Do not draw image if image is null