Added a work-around for an SWT cursor bug with the native function 'reset_cursor'