Fix issue with resize (active size will be wrong if active items contains any false values)