Both things are true. The Creator bound the Dark one at the moment of creation. He also was bound by The Dragon in the more recent distant past.
But how can these both be true? I don't think it's a spoiler to undertake the most basic leap of logic and say that if someone or something was imprisoned and then imprisoned again... it must have escaped at some point. The spoilers are in the details.