Ah, thank you!
The bar turns black and stops filling while the mural is being attacked, by the way; meant to make that clearer but was basically out of time. You lose if the door falls, but you can't win if the mural isn't being painted.
If you ever give it another play: try talking to Anise. :)