BugFix: cannot change the pin state of already pinned nodes