Fix bug when loading paths zith relative coordinates