SEATTLE (AP) -- Jonathan Villar hit a tiebreaking single in the ninth inning to lift Collin McHugh and the Houston Astros over the Seattle Mariners 2-1 on Tuesday night.

Logan Morrison homered off McHugh in the eighth to tie it, but the Mariners fell a half-game out in the race for the second AL wild card.

With two outs in the ninth, Yoervis Medina (4-3) walked Jon Singleton and he advanced to second on a wild pitch. Singleton moved to third on Matt Dominguez's single to deep shortstop.

Villar bounced a 1-1 fastball to the right of second baseman Robinson Cano, who made a dive for the ball as it skipped over his glove and rolled into right field.

McHugh (9-9) permitted only two hits in eight innings — an infield single in the fourth and Morrison's long homer off the facade of the second deck in right field.