Work around race condition reading iwidget ids and elements