(library) Fix crash with combo box selection