The item visibility changes are already monitored in the itemChange() function. (cherry picked from commit 5108c15d)