Reset window on stop