Cale Makar's two goals helped the Colorado Avalanche secure a 3-2 win against the Philadelphia Flyers in a game featuring a referee injury.