Fixed another bug when loading the canvas and adding a background