Fix minimum window size to work here. Bug #8