TORONTO — The joke in the Lightning locker room before Wednesday night's game with the Maple Leafs was that captain Steven Stamkos, who grew up in the Toronto area, had never had a multigoal game at the Air Canada Centre.

And he delivered a natural hat trick, including what turned out to be the winner in what Stamkos called a "huge" 5-3 victory.

"I'm pretty excited I could do it in front of friends and family," Stamkos said and added, smiling, "I was a little disappointed there were no hats on the ice, but I'll take it."

It was the fourth straight win for the Lightning (38-24-7), and an important one, too, against an Atlantic Division foe it might meet in the playoffs and in a building in which it had lost four straight.

There was a scary moment when Toronto defenseman Paul Ranger, a former Lightning player, was wheeled off the ice on a stretcher after a first-period from-behind hit by Alex Killorn.

And there was another shaky third period in which Tampa Bay was outshot 22-8 and 39-30 in the game. Ben Bishop made 36 saves, 21 in the third period, for his 33rd victory.

Radko Gudas also scored. And Tyler Johnson's power-play goal with 7:04 left in the third re-established a two-goal lead after Toronto's Jake Gardiner made it 4-3 8:20 into the period.

"We were forcing too many pucks, turning them over," Johnson said. "We weren't trying to make plays. We were just trying to chip it out. That's a good play, but it can't be your only option."

Stamkos as an option is difficult to beat.

The center, who has played seven games since returning from a broken right tibia, has five goals and seven points in his past four.

His three consecutive goals, one on the power play, turned a 2-1 Toronto lead with 9:28 left in the in the first period into a 4-2 Lightning lead 5:55 into the second.

"I felt great. (Wednesday) was the best," said Stamkos, who has 19 goals on the season. "I kind of felt a little fatigued toward the end of the game, but the first two periods I was really getting in on the forecheck, not really worrying about it in the corners."

For coach Jon Cooper, Stamkos' best moment came with 52 seconds left in the third period when a fan jumped the glass and ran onto the ice. While security dealt with the interloper, " 'Stammer' brought the team around and laid down what was going to happen," Cooper said.

"It broke the tension on our bench. I can't say enough about his leadership ability. It was great to see."