"active" is not "selected". It is the item which has the location cursor, according to the Tk::Listbox manpage. A listbox which has the focus will have such an item underlined, at least on X11 systems.
You should rather use some of the *selection* methods.