Added bounds checks to setting background images