Fixed bug in generateTexture

Changed PIXI.Point to tempMatrix.
Merge pull request #1074 from SebastianNette/patch-8

Fixed bug in generateTexture