Vertex selection (mesh edit) was using a short to calculate distances, which can overflow with vertices outside of view.