Fix EZP-21979: Hiding object that is item in eZ Flow block doesn't affect front
(cherry picked from commit 483e6ddfb13251eb2b2841edbfde14e069b27236)