Fix rendering of keys collapsible when bare_metal