Fix bug where separator lines would disappear