Fixes a crash when a background is visible but unspecified.
Use background_exists() instead of a >=0 check.
Merge pull request #868 from sorlok/fix_no_bkgrd

Fixes a crash when a background is visible but unspecified.