Murray looked to be on course for a straight sets win but lost his focus following a controversial call and allowed the unseeded Wawrinka to draw level.