Fix empty debug toolbar is displayed when all debugging is disabled.