The start of refactoring the touch handler to use dynamic priority from the target node.