Fixed some NEAT bugs