Handle cursor and selections differently