fix #4388: save windowed size in separate tags