Added enabled tree flag so as that children of disabled components can draw themselves as disabled.