Fix uninitialized texture path bug