Fixed bug that was causing assets to fail to load when specifying a path from root in script