Removed invertVisibility method