This avoids panicking in Zed if the points they give us are invalid. Co-Authored-By: Max Brunsfeld <max@zed.dev>