fix: 'nix, don't make assumptions on display name

tried binding my usual keypad-based layout but got a segfault. been hit by this type of thing before! the patch is overkill given the fact that if DISPLAY isn't set, the game won't initialise at all, but i certainly needed something as i don't run any xservers on :0