Fix scaling the background image.