Fixed clipping in image export in certain cases and don't draw legend border in export if width is 0.
Fixed clipping in image export in certain cases and don't draw legend border in export if width is 0.

harbulot/jqplot,harbulot/jqplot,harbulot/jqplot