This is the rule regarding that goal if anyone is interested:
RULE 98 – SCORING A GOAL/GOAL FRAME OFF
i. If a defending player displaces his own goal frame and the opposing team scores a goal, the goal will be allowed provided:
1. The opponent was in the act of shooting prior to the goal frame being displaced;
2. The referee determines the puck would have entered the goal net had the goal frame been in its normal position.
http://www.iihf.com/fileadmin/user_upload/PDF/Sport/IIHF_Official_Rule_Book_2014-18_Web_V6.pdf