Set cursors correctly