Fixed a crash when showing appwidget actions on 2.x.