Fixed issues with generating direct paths for TreeEditorPanel and EditorPanel

- Also renamed getMousePath to getPointPath since it's not mouse position agnostic