Using 'animation' for displaying image frames with overlayed scatter plot - images disappear when played or when scrolling on slider

I’m trying to create an interactive animated plot of a sequence of images, with a bounding box (as a scatter plot) overlayed. It seems that when I hit the ‘play’ button, or when I use the slider to scroll through the frames, the images disappear. they reappear whenever i stop or i hit the ‘House icon’ to reset everything. Could it be a rendering issue on my end? I am using it plotlyoffline and in jupyter lab (server).
Any help would be brilliant!