Fix incorrect cursor example. Closes #163.