Fixes cursor issue #112