fixed cursor showing when no stack on undo
Merge pull request #116 from tgrrtt/develop

fixed cursor showing when no stack on undo