Should only convert non-hidden elements to custom controls.