Fixed crashing bug transforming cursors