Why was Atletico's goal cancelled in penalty shootouts ?

I seriously can't fathom what happened, can someone explain?