Debatable pen gives Bayern win at Dortmund