Fix segfault in WidgetListBox during keyboard navigation