Coco Gauff said she was thinking about Frances Tiafoe's stunning comeback from two sets to love down as she faced match point against Mirra Andreeva, before fighting back to win.