MIAMI -

Jeff Baker hit a game-winning double off the wall with two outs in the ninth inning, and the Miami Marlins beat the Los Angeles Dodgers 5-4 Sunday.

Right fielder Yasiel Puig retreated and made a leaping try for an acrobatic catch but slammed against the fence, and the ball deflected off it and hit him in the face. Puig collapsed to his stomach and was slow to rise, and he walked off the field with an arm around a trainer.

Giancarlo Stanton homered twice and drove in three runs for Miami, giving him the NL leads with 10 home runs and 36 RBIs. Teammate Christian Yelich hit his second home run.

The Dodgers came from behind three times, and a blown save cost Miami ace Jose Fernandez the victory. With Marlins closer Steve Cishek unavailable after pitching in three consecutive games, A.J. Ramos (2-0) tried to protect a one-run lead in the ninth for his first career save. But Chone Figgins walked and scored on a double by Andre Ethier with no outs.