Changed to intersection between ray and plane when checking intersection with link.