Loss of Unit Control/Unit Selection Bug

During a custom game after a certain point, my units stopped responding to their commands as if they had a mind of their own. They were not converted by an enemy monk. At the same time, there was a problem selecting the units as well. I would select 1 unit and 2 or 3 units would be selected without double clicking or dragging a window. Or id select a monk and tell him to go somewhere and it would continue on the direction it was going (I was not holding shift either as if I was queuing commands).