Cursors cycle fix
Merge pull request #13 from neszt/master

Cursors cycle fix