Idiom: People caring about minor stuff while something terrible is happening

Copying from my comment to @Mitch's answer I think that rearranging the deck chairs is applicable in a scenario when someone tries to correct a doomed situation, cosmetically. In the scenario mentioned, I feel that “fiddling while Rome burns” might be a slightly more apt phrase.


The classic:

Rearranging deck chairs on the Titanic.