Fix infinite scroll break on hiding items.