Bugfix #1

Corrected a bug wherein clicks could register more than once, causing
unwanted point selection, which led to unwanted lines or triangles.