Fix svg charts resizing

When decrease size of window and then increase, charts didn't restore own size