Bug fix: file tree not working properly when embedded in api-platform