PRD-4760 - Fixing design-time mode for hidden elements.