The context menu was updated before the current node was set to the right value, later in the showContextMenu method. Task-number: 253989