Ensure that the current cursor is opened