[ControlPanel]: Fixed an issue related to ControlPanel template