There appears to be a bug - sometimes one or two areas on a card don't get colored in. I was able to fix this by commenting out
if(duplicate) { return null; }
inside the register(shape) function in Painter. So the problem is with how it detects duplicates.