Window size correction.