Projection fix

fixes projected point falling outside segement