Added window_peep_stats_invalidate and resize