Ensure that the restored size is at least equal to the best size of the window to avoid cutting off parts of it in (a common) case when a newer version of the program adds new UI elements, thus increasing the window best size and possibly making the previously stored size too small.