The pie chart now move properly when the chart is resized