fix for auto-resizing gadgets in the ILS