Cristiano Ronaldo and Gareth Bale had put the visitors in front after Arturo Vidal's first-half penalty but the Spanish striker sealed a share of the spoils.