I found the same issue a long time ago. Modkit said it was to do with floating point calculations.
To my mind, it doesn’t make sense for a language designed for programming novices not to deal with that because ot makes the logic very confusing for young children.
Ideas for mitigating it? I tried to change the display to show no decimals with the hope it would round. It did not.
If you reset the counter before it hits 12 or so the problem never appears.
I figured it was a conversion error between decimal and binary. We tried steps of 1.5 instead of 1. The problem still appears. They really should fix this.