Morocco missed a penalty with the last kick of normal time before Senegal - who left the field in protest over that decision - went on to claim victory.