Manchester City boss Manuel Pellegrini blames a lack of concentration at set-pieces for his side's loss against Cardiff.