Small fix in Texture3D's init method.