Oops. Corrected with changeset 145511984. I probably did a square operation without noticing the focus in josm was on another way.
Do you know if a validation check for this kind of error can be added to josm ?