Calculating / drawing paths properly.