Attempt to prevent crashes as reported in #2273

Pending further information on reproducing or otherwise tracking down
the problem, this should at least stop the game crashing for something
"minor" as a messagewidget hickup.