Fixed bug in generateTexture

Changed PIXI.Point to tempMatrix.