Fix typo
Simplify

Better done this way if randomize_background does more stuff.