Fix problem with undo foundation resize causing change in children