.actions.creatable with 'display: flex' in apps/files/css/files.scss overwrites .actions.hidden with 'display: none', causing the "new" button to be visible when it should not be.
.actions.hidden { display: none; }
.actions.creatable {
position: relative;
display: flex;
flex: 1 1;
.button:not(:last-child) {
margin-right: 3px;
}
}
Additionally, the gallery button is within the actions div, so it would disappear if this is fixed and the user has no UPDATE permission.