fix bugs with fieldset rebuild after style changes