Fix removing menu dividers

Mac: need to set os item for dividers.