Fix potential segfault if rgui->info is broken.