Fixing a bug in resetChildren()