Fixed a bug where the color randomization took too much time.