Found bug. ColorToChangeTo would gain too many 255s at the end of it if floodfill was used in succession.The conditions we changed in the process of finding bugs. Very strange error, I dont know how it happened, but I have fixed the code to prevent it