ANAHEIM -- Michael Rasmussen scored the tiebreaking goal with 1:07 left in the third period for the Detroit Red Wings in a 3-2 win against the Anaheim Ducks at Honda Center on Sunday.

Moritz Seider's shot from the top of the right circle redirected into the net off his left skate.

"I thought it hit my stick a little, so I wasn't too nervous (about the review for a distinct kicking motion), but you're always nervous when they go check it out, for sure," Rasmussen said.

DET@ANA: Rasmussen's tip-in goes into the twine to grab the lead

Dylan Larkin and Joe Veleno also scored, and Alex Lyon made 29 saves for the Red Wings (20-16-4), who swept their three-game California road trip.

"It's a huge trip for us," Larkin said. "We left Detroit feeling like we played a couple good hockey games and the results were coming, and they came on this trip."

Trevor Zegras scored two goals, and Lukas Dostal made 25 saves for the Ducks (13-25-1), who have lost five in a row (0-4-1) and went 1-6-1 on an eight-game homestand.

"We've got to start finding ways to put some victories together here," Ducks defenseman Cam Fowler said. "There was a lot of emphasis on tonight's game, especially going out on a hard road trip here. So, unfortunately, we didn't get the job done, but it's just frustration. I'd say that's probably the main word for our group right now."

Zegras scored 20 seconds into the game to give the Ducks a 1-0 lead. He redirected in a point shot from Troy Terry, who returned after missing the previous three games with an upper-body injury.

It was the second straight game Detroit had allowed a goal on its first shot against.

"It's not how you want to start hockey games," Larkin said. "We felt like we shouldn't have been in that spot, and we got a little flustered."

DET@ANA: Larkin finishes the feed from Perron for a PPG to tie it

The Red Wings were called for icing four times in the first six minutes and did not get a shot on goal until 9:58 of the first period while on a power play. However, Larkin scored on the same man-advantage with a one-timer from the slot to tie it 1-1 at 11:10.

"I thought we played a good first, however many minutes it was, and then we started getting into some penalty trouble," Zegras said. "When you play these guys, with some highly-skilled players, it definitely can change the momentum of the game."

Veleno gave the Red Wings a 2-1 lead at 2:20 of the second period on a wraparound. Play did not immediately stop following the goal, but after Dostal covered the puck, the play was reviewed and it was determined that the puck had crossed the goal line.

A little more than four minutes after the goal, the Ducks were unable to capitalize on a 5-on-3 power play that lasted for 1:25. They finished the game 0-for-4 with the man-advantage.

The Red Wings are 20-for-20 on the penalty kill in their past eight games and 32-for-33 in their past 13 games.

"Good special teams win games, and that's a good little streak for our penalty-kill unit," Rasmussen said.

Zegras tied it 2-2 at 3:55 of the third period, roofing a shot from the bottom of the right circle off a cross-ice pass from Fowler.

"I thought we did a pretty good job," Zegras said. "We wanted to work it behind the net, get the cycles going and find guys in that slot area. I feel like we could've had a couple more, for sure, but their goalie played well. So, credit to him."

NOTES: Ducks goalie John Gibson did not play because of an illness. Alex Stalock was recalled from San Diego of the American Hockey League to back up Dostal. ... Detroit forward Andrew Copp had an assist in his return after missing a 4-3 shootout win against the Los Angeles Kings on Thursday because of a lower-body injury. ... The Ducks scored two or fewer goals in seven of their eight games on the homestand (0-6-1). They are 0-21-1 this season when scoring two or fewer. ... Anaheim forward Ryan Strome played 14:38 in his return after missing two games because of an upper-body injury. ... Ducks forward Max Jones was placed on injured reserve on Sunday with an upper-body injury he sustained in a 3-1 loss to the Winnipeg Jets on Friday.