Fixed the issue with relative paths to assets.