LPS-42163: Fixed with changed back to the 1.5.0 solution since that change doesn't have any effect on deselect a node, but broke the path drawing action.