Thu May 14, 2015 10:39 pm
Banks was already in retreat when the battle took place. It's not the rule that a nearly equal sized force retreats, but it's withing the the possible odds. In this case, when Banks' luck ran out and Johnston forced him into battle, Banks drew the lucky straw and beat Johnston.
It's certainly not a common occurrence, but far from unheard of.
Once the battle was over, there was also a chance that Banks could have stopped and stood his ground. But again, it's only a chance, and in this case the game decided that he should retreat again, basically caused by Johnston's presence.
I don't see a bug here, just a chain of improbable, but not impossible, events.