For ease of reference, and not because I normally like linking heretical works, I'm going to provide a link to the Infancy Gospel, so people can know what we're talking about:
http://www.gospels.net/translations/infancythomastranslation.htmlScholars date this work to the mid-second century, and it was probably used by Gnostics. It shows the Christ Child using His powers to perform magic tricks (not really what we would call miracles) and kill off playmates.
Of course, as God, it is Christ's right to take a life. The problem with the Infancy Gospel is that it depicts Him as a peevish child, killing other kids for no good reason. In the canonical New Testament, you do see God punishing persons with death, but they are culpable adults who have deliberately done something very wrong (Ananias and his wife in Acts 5; those who take Communion unworthily in I Corinthians 11.) I think one of the problems with the Infancy Gospel is not so much that it shows Christ taking lives, but in the way and for the reasons He took the lives. Obviously the persons who used this book had a very different understanding of Christ than we do.