Cursors cycle fix