Prevent X11 errors when XCreateWindow is called with zero width or