Madrid looked on course to completing a comeback win when Rodrygo put them in front for the first time with a deflected shot in the 56th. But Rayo midfield leader Isi Palazón stretched out a boot to steer Florian Lejeune's shot past Thibaut Courtois in the 64th.