Fixed fill bug. The problem had nothing to do with timing as I thought. If you fill a region of a color with the color it already has, it breaks. I made it not break from now on.