Correct drawing of background image.