TORONTO -- The Toronto Maple Leafs lost goalie Frederik Andersen because of an upper-body injury in the first period before the Florida Panthers rallied with three goals in the span of 7:53 in the third for a 5-3 win at Scotiabank Arena on Monday.
Andersen was run into by Frank Vatrano after the Panthers forward was pushed by Jake Muzzin on a 2-on-1 with 1:36 remaining in the first period. Andersen, who allowed one goal on eight shots, was slow to get up but was able to finish the period before being replaced at the start of the second by Michael Hutchinson.
"He's feeling better from what I'm told, but we're just going to have to give him the night and see how he is in the morning," said Maple Leafs coach Sheldon Keefe, who confirmed Andersen went through concussion protocol and passed the tests.
[WATCH: All Panthers vs. Maple Leafs highlights]
Mark Pysyk got his first NHL hat trick, and Sergei Bobrovsky made 31 saves for the Panthers (29-17-5), who have won seven of their past eight games, scoring at least four goals in each victory.
"We didn't play up to where we should have in the first two periods," Pysyk said. "We got a little energy going after the second. We didn't do much that period, so we wanted to come out firing. After giving up that first one (early in the third), we could have rolled over and died but everybody on the bench knew just to dig in and we bounced back and took it to them. It's a huge win. It was a big game, we knew that coming in."
Video: FLA@TOR: Pysyk nets Matheson's gorgeous feed
John Tavares, William Nylander and Auston Matthews scored, and Hutchinson made 10 saves for the Maple Leafs (28-18-7), who had won three in a row.
"It's obviously disappointing. It's not going to be a good feeling leaving the rink especially overall the way we played," Tavares said. "We got sloppy early in the third and didn't do a good enough job exiting the zone clean and gave up a lot of opportunities."
After Matthews scored 38 seconds into the third period to make it 3-1, Pysyk scored on a rebound at the top of the goal crease to cut it to 3-2 at 2:20.
Video: FLA@TOR: Matthews puts home bouncing pass on rush
Jonathan Huberdeau scored a power-play goal 58 seconds later to tie it 3-3, and Mike Hoffman gave Florida a 4-3 lead at 10:13 when he collected the rebound of Aaron Ekblad's initial shot off the end boards and threw a backhand off Cody Ceci past Hutchinson five-hole.
"We didn't panic. That's our team, that's how we win games," Huberdeau said. "We came back 3-2, 3-3 and then after that we had the momentum and we knew it and we took advantage of it."
Video: FLA@TOR: Hoffman banks puck home off defender
Pysyk completed the hat trick by scoring into an empty net with 48 seconds remaining to extend the lead to 5-3.
"I got lucky at the end there, breakaway, open net," Pysyk said. "I thought I was going to miss it. I was a little nervous."
Said Tavares, "We came out really well, got a big goal and for whatever reason, we didn't have good response, good momentum after that. It led to some opportunities and they started getting some belief and momentum and we weren't able to do a good enough job the rest of the period."
Pysyk put Florida ahead 1-0 at 11:30 of the first period after Mike Matheson skated down the right wing and sent him a backhand pass for a one-timer.
Tavares tied it 1-1 at 3:21 of the second period when he redirected Mitchell Marner's pass in the slot on the power play.
Video: FLA@TOR: Tavares floats PPG past Bobrovsky
Nylander gave Toronto a 2-1 lead at 19:05 when he redirected a pass from Kasperi Kapanen in the slot two seconds after a power play had expired.
Video: PYSYK ENTERPRISE HATTY
They said it
"Mark really did do a lot of good things tonight, timely goals as well. He's just doing a lot of good things and he's given us some diversification where we can use him up front at forward, we can use him on defense, he can play on the penalty kill, and he's playing important shifts where we can use him to match up against someone. We don't count on his production, but to get three big goals like that tonight, you can't say enough good things about him." -- Panthers coach Joel Quenneville on Mark Pysyk
"I thought we played a really good game. If we play that type of game 100 times, I think we win it 99 of those times, something in that neighborhood. The result [stinks], but I don't think it's indicative of how the game went. That's the best defensive game we've played all season. I don't think we gave up more than four scoring chances at even strength the whole game." -- Maple Leafs coach Sheldon Keefe
Need to know
Florida set its record with its fourth multigoal, third-period comeback this season. … Nylander has 10 points (six goals, four assists) in an eight-game point streak.
Panthers: At the Columbus Blue Jackets on Tuesday (7 p.m. ET; FS-O, FS-F, NHL.TV)
Maple Leafs: At the New York Rangers on Wednesday (7:30 p.m. ET; SN, MSG, NHL.TV)
Video: Pysyk, Panthers rally for win against Maple Leafs