bugfix for empty window in glx/x11