fix: Properly rewrite relative paths in assets