Hossein Vafaei missed a red to the middle, but saw it drop into the yellow pocket against Judd Trump at the World Snooker Championship.