         drawHeaderFocus(_focusedIndex, showFocusIndicator);
       }
 
-      if (child as IAutomationObject);
-      IAutomationObject(child).showInAutomationHierarchy = true;
+      if (child as IAutomationObject)
+      {
+        IAutomationObject(child).showInAutomationHierarchy = true;
+      }
     }
 
     /**

    {
      FLEX_TARGET_VERSION::flex4
      {
		UIComponent(overlayChild).addOverlay(effectOverlayColor, overlayTargetArea);
      }
      FLEX_TARGET_VERSION::flex3
      {

      if (!overlayChild)
        return;

      FLEX_TARGET_VERSION::flex4
      {
        effectOverlayColor = color;
      }
      FLEX_TARGET_VERSION::flex3
      {
        overlayColor = color;
      }
      overlayTargetArea = targetArea;

      if (selectedChild && selectedChild.numChildrenCreated == -1) // No children have been created
