It was Matthews' third goal in two games after going five without one, but he credited Andersen for the win.
"Unbelievable saves," Matthews said. "He's been great for us. Ideally, you probably wouldn't want to see him make five breakaway saves in one game, but that's just a credit to him and he's just dialed in, huge saves to keep the lead for us and then a couple big goals by [Tavares]."
Tavares, who was held without a point the previous three games, made it 2-0 with 19 seconds left in the period when he redirected Cody Ceci's point shot in the slot.
"Scoring that goal kind of gave us a little bit of a momentum," Matthews said.
Leivo made it 2-1 when he scored on a rebound scramble at 11:14 of the third. Leivo, who played seven seasons in the Maple Leafs organization, has six points (five goals, one assist) in his past six games.
"We had a lot of chances; I don't think we should be down on the way we played. We battled, we had a lot of shots," Leivo said. "Andersen stood on his head and played really well."