Fix bug avoiding loading undefined background image.
Fix bug avoiding loading undefined background image.