As a result, this code is causing a segfault anywhere we use WidgetInput.