Ivan Perisic struck in the first half before Ivan Rakitic extended Croatia's lead to 2-0 but they were pegged back with 15 minutes to play when Milan Skoda's header beat Danijel Subasic before Tomas Necid equalised for Pavel Vrba's side from the penalty spot.