Fix timeline chart redrawing when group element expansions are toggled