Hossein Vafaei and referee Rob Spencer shared an exchange over a red at the World Snooker Championship.