hmm.. I seem to recall it possible for the window to go negative.  I can hunt this down, but might be worth it to <= this.