Serial communication in touchdesigner working with Uno but not with Mega

Even the Uno is giving problems when using more leds, the more leds I use the more problems I get. They seem to appear random, like a part of the strip turning red when it shouldn't if I click a random button in the software that should have no effect on the serial communication. Testing with only 13 leds appears to work fine though.