gh2941: fix LinearEntity intersection problems