Fix a cursor leak