Fix inconsistent sign in node editor (fixes #298).