anchor.diff:  
       ImageElement image = document.createElement("img");
       image.onLoad.listen((event){
  +      if (image.width == 0 || image.height == 0) {
  +        return;
  +      }
  +
         bool isPowerOfTwo(int x) => (x & (x - 1)) == 0x00;
         int nextHighestPowerOfTwo(int x) {
           --x;
  
positive.code:         this.canvas.height = nextHighestPowerOfTwo(image.height);
        }
  
        this.ctx.drawImage(image, 0, 0);
        this.refresh(gl);
        completer.complete(this);
      });
  
negative.code: 
      this.ctx = this.canvas.getContext("2d");
      if(color != null) {
        this._setColor(color);
      }
  
      this.texture = gl.createTexture();
  