Fix visibility for mac.