Fixed an 'Undefined index: controller' notice cause in base widget class.