bugfix: Texture randomly rotate because isRotated flag is not inited in getTexture()