Fixing a subtle but major spelling error

I was referring to this.layer, not this.layers. Oooops.