canvas-animation: First pass at placing points at path ends. Fix mouse selection when points are deleted.

Calculate offsets beforehand.