Added point-on-line collision