fix crash when the image which is set to UIImageView is NSNull