[BUGFIX] Adjusts static roots array on widget removal