Maple Leafs, Nylander regain composure in win over Hurricanes