diff --git a/js/model/Frame.js b/js/model/Frame.js index 04790344..bef3e94c 100644 --- a/js/model/Frame.js +++ b/js/model/Frame.js @@ -48,7 +48,7 @@ ns.Frame.prototype.clonePixels_ = function (pixels) { var clonedPixels = []; for (var col = 0 ; col < pixels.length ; col++) { - clonedPixels[col] = pixels[col].slice(0 , this.getHeight()); + clonedPixels[col] = pixels[col].slice(0 , pixels[col].length-1); } return clonedPixels; };