fixed: maintain open close state on container on redraw