Fix selection.interrupt.

Even if no further transitions are scheduled on the element, we must still
advance the active counter to interrupt the active transition. Fixes #2165. Also
added better tests that verify interruption.
Fix quadtree find with accessors