[Fix] Cursor not close