Fixed a bug which prevented multiple 2D plots from being put on a single canvas.