[BUG #7126] fix hideAll() iteration