Fixed chart zoom after resizing.