Fix a null exception with the toolbar

Only shown when killing or crashing the game, but users tought it was
why their game crashed.