avoid get image call in case there's no background picture
Merge pull request #1824 from Remo/avoid-image-get-call

avoid get image call in case there's no background picture