Added window_peep_invalidate

Not tested.