Update for too much recursion problem. https://github.com/jagthedrummer/codemirror-ui/issues/7