Add class for disabling ignoring hidden elements.