get initial window size from display size, fixes unknown cofigure/expose event odering