fix repaints in chrome 38

I'll let this slide, since this is really only a big deal with many windows. Most use cases need just <window> so `N` is small.