Fixes nested invisible items (e.g. slide images in gallery) show up when the container is invisible.