Image path set with File attribute is resolved differently when set to variable

Hi,

Fuse v.0.8.5, Windows 8.1

While this works:

<Image File="images/pic.jpg"/>

This doesn’t:

<JavaScript>module.exports.path = 'images/pic.jpg';</JavaScript>
<Image File="{path}"/>

It seems for some reason while setting the path in the first cases resolves relative to the directory uf the UX file, in the second case the path is resolved relative to the CWD of the fuse tool (see screenshot below):

file