Detect clicks on the cursor as selections.
Retrigger render of cursor on each change.
Fix cursor rendering for empty nodes.
Cursor z-index trick to have valid DOM selections.