Fixed window flushing.