This was because the draw code was ignoring the wire color and incorrectly try to figure it out again.