[BUG #8198] Renamed onWidget to $onFirstCollection