Definitely a glitch. Try moving some squares back and forth a few times? See if it rights itself. I was able to complete it myself so I'd need a screenshot at the very least to reproduce.
Okay, I'll try again!
It worked now :D very fun game!