Fixed an issue with display:none not being honored.