Moving the control functionality from the CanvasGroup class.