Attempt to match screenshot verification repeatedly to be more robust in the face of animations and the like.