Re-implement setSRStyleToggleVisibility on macros