fix #2932: Editing coordinates crashes cgeo