Fix 404 resource paths, which must be absolute.