Fixed cursor restoration
Merge pull request #133 from itchyny/fixCursorRestoration

Fixed cursor restoration