Fix segmentation fault inside WidgetScrollBox