Why does namine's drawings capture Sora in the kingdom hearts 2 introduction?

because shes a witch and in chain of memories sora goes to sleep in one to regain his memories