Bayern Munich surrendered a two-goal lead to draw 2-2 with Edin Terzic's Borussia Dortmund in the Bundesliga.