Corrige problema na GetPathInPoints