Quickbug: Fixes #246 Cursor not reliable.
Merge branch 'master' of https://www.github.com/foam-framework/foam