fix open lua file from other path cannot run script bug