Replace “white” with “black” and ask again. I find it offensive in either case. The joke was meant to be offensive, otherwise it wouldn’t have been said.
I grew up in Southern California. I was told by more than one person that if you see something on a TV or movie screen, it wasn’t accidental.