avoid redraw of the container for auto fitting