[Bug] macOS: Image location can not support folder contains '.', e.g. "./.img/file1.png"