r2448 - another layout fix in renderFilesForEntity()