Placing Units in the Map Editor and the Units cannot be unselected by Right clicking.

The issue is resolved by unticking 'Right click to command troops' in Settings.