Fix crash regarding background sprite