cleanup and restore point before doing UI size update code