Background image bug fix