Edit window gets restored smaller on Windows