Fixed a problem on loading background images