Fix issues with staticSelectNode, and also ensure that all moves update the database.
Note that moving a node or connector does not update the database; only when
moving away to a new section or to another location is the update pushed.
Therefore all the moves that didn't update the database were essentially
delaying the update and losing the updates in most instances.