Cursor class can now set the position of the cursor with setter
functions.