Added repeating feature for background sprite.