Convert cursor:event() references.