Previously over-simplified point finding code. Have to split the path to ensure the found point is exactly on the path.