Issue #1244: fixed label positioning after a node is moved