(re)stroing interface size in document-state