Fix startup with null window-system

This happens when started with -nw or --daemon because
x-display-pixel-width is unavailable.