fix: "invalid cursor state, linux"
Merge branch 'hotfix/0.5.3'