+Make sure we have an endpoint in a path before we try to evealuate it

This fixes pixijs tiling texture example (https://github.com/GoodBoyDigital/pixi.js/tree/master/examples/example%209%20-%20Tiling%20Texture)