Forgot to `return obj;` from 1 branch in `element.dispatch()`
Merge pull request #277 from avoidwork/edge

Minor fix