Fix [EZP-22342] Hidden state on Locations is not taken into account in custom controllers added in the DemoBundle