The offending ingredient was the pigment titanium dioxide, which the OP noted is officially banned in the EU. On that point, posters speculated they might've had candy that predated that.