Cursor rendering and movement