Create material in StaticModelData to fix memory leak.