Correct topology rubber band bug for first and last vertexes