Set background as soon as background image is loaded