Better fix for the compilation issue, const Point& instead of Point

@daid's idea, not mine.