Patrick Sharp’s shot deflected off Peter Budaj before flipping up and over the Montreal goaltender, ending up in the back of the net.

And after so many overtime outings in which the Chicago Blackhawks couldn’t get a goal, couldn’t eke out that extra point, they finally did both in their 80th game of the season.

Marian Hossa’s goal tied it with 47.7 seconds remaining in regulation, and Sharp scored his 34th of the season in overtime as the Blackhawks came back to beat the Montreal Canadiens 3-2 at the United Center on Wednesday night. The Blackhawks, who have now won four in a row, kept their slim chance of home-ice advantage in the first round alive.

Jeremy Morin scored his third goal in as many games. Sharp and Hossa also added an assist each as did Duncan Keith, who now has 55 helpers this season.

And surprisingly enough, it was the first overtime victory this season for the Blackhawks, who were 6-15 in extra time — and those six were shootout victories — heading into this one.

“Well, I think we were due,” coach Joel Quenneville said with a wry smile. “First time all year we scored an overtime goal in 20-something games, 20-something opportunities. We have a pretty good club offensively. To finally take this long to get one, it was certainly a relief and a huge two points.”

Yes, it’s hard to believe a team with the offensive weapons the Blackhawks have would struggle as much as it has in overtime. But, there it is nonetheless. The Blackhawks, however, weren’t dwelling on overtimes lost: to get this one, at this juncture, and knowing the playoffs are full of tight and sometimes extra-time games, was a boost.