fix category tree styles when used as a formtool field