Fix bug where assets could not be found by relative path