Bergeron ties game with third period goal