minor windowing bug fix