#4827, #4829: fixed size changing, set min/max size for node