Fix detail pane for entities