Reset cursor to end of selection