Oh, I hate that glitch!
Sometimes, you can get around it by recoloring the corner piece to match the others, with a lot of copy/paste of color numbers and saving patterns, but not always.
If there's a fix that always works for this, I'd love to hear it, too. Usually I just wind up picking a different counter style that doesn't do that and live with it.