Fix crash when changing resolution

We need this, since SharedResources::loadIcons() does a NULL check on
the icons Sprite pointer.