Fixed loadTextureRelativePath which would end up calling itself.