This fixes an issue with the `app-*.py` demos. Basically if a user click-drag-unclicked, the trail was printed. If the user then clicked again in the same spot without moving, the same trail was printed (plus an additional entry at the end location). This fixes that problem, but there might be a more elegant solution somewhere else.