Custom Touch Bar hidden from time to time

My Touch Bar stops working occasionally, apparently for no reason. It's always been like this.
I saw here a thread about the same issue with a suggestion that didn't fix it for me (increasing the time before reinitialization).

I'm using Catalina in a MacBook Pro 16"