Prevent entity from sometimes using an incorrect start node.
Copied astar-for-entities.js from /example/lib/plugins to /