Problem with visibility condition while using Container.IsUpdating boolean

Hi everyone,

I am currently making a loader to display when a container is updating content. So i made the following visibility condition for the loader:

<visible>Container($PARAM[ContainerID]).IsUpdating + !Integer.IsGreater(Container($PARAM[ContainerID]).NumItems,0)</visible>

Everything works – except the loader is flickering. Is this normal while using the IsUpdating boolean?