Don't segfault if we can't open the display.