Fixed #811.
Merge pull request #813 from waterbearlang/811-drop-cursor-bug

Fixed #811.