Added window size change.