fix a start up crash with the sprite generator when files are missing