The Pars looked in control after goals from Ryan Dow and Kevin Nisbet but Danny Johnson pulled one back with a penalty just before half-time.
Ex-Motherwell striker Johnson converted a second spot-kick 15 minutes from time as James McPake's side salvaged a point in front of 5,227 fans.