Fixed editing of unit coordinates