25.2 Infractions – When Goalkeeper is On the Ice – A goal will be awarded when an attacking player, in the act of shooting the puck into the goal (between the normal position of the posts and completely across the goal line), is prevented from scoring as a result of a defending player or goalkeeper displacing the goal post, either deliberately or accidentally.
Toronto and refs quoted 78.5(x)
78.5 Disallowed Goals – Apparent goals shall be disallowed by the Referee and the appropriate announcement made by the Public Address Announcer for the following reasons:
(x) When the net becomes displaced accidentally. The goal frame is considered to be displaced if either or both goal pegs are no longer in their respective holes in the ice, or the net has come completely off one or both pegs, prior to or as the puck enters the goal.
Folingo wasn't in the act of shooting the puck when the next was dislodged. Is was dislodged probably a good 1 second before he was in the "act" of shooting. So it would goto rule 78.5 (x).