Nice, fixed! I noticed something else -- I select the action for the peon then select the building with alt+1 and click, then next time I select the peon he won't move when I tell him to. After I press the hotkey to build something e.g. "bf" then esc he'll move again.
Wow, great, reproduced!
Peon don't react to right mouse click, if i select several peons, all of them can move except this one, But he could be moved if i press "m" or "a" and then left click target.
Same behavior with my fix and without it, so not caused by my fix.
ctrl 1 a building and using 1 for mages also.
Works for barracks for me, but didn't work for farm. Not sure about other buildings...