American Coco Gauff puts her serving issues behind her as she beats Magdalena Frech in straight sets to reach the US Open fourth round.