         {overlay} = element.refs
         {popper} = overlay.refs
         popper.updateOverlayPosition = sinon.spy()
-
+        # make sure images are tracked loading first
+        fakePopoverShould('loadImages', dom, popper, overlay)
         Testing.actions.click(dom)
         overlayDOM = popper.getOverlayDOMNode()
 
         expect(overlayDOM.querySelector('.image-loading')).to.not.be.falsy
-        expect(popper.updateOverlayPosition).to.have.been.calledOnce
+        expect(popper.updateOverlayPosition).to.have.been.calledTwice
         expect(overlay.state.firstShow).to.be.false
         expect(overlay.state.imagesLoading).to.deep.equal([true, true])
 

      .then ({dom, element}) ->
        {overlay} = element.refs
        {popper} = overlay.refs
        fakePopoverShould('right', popper, dom)
        Testing.actions.click(dom)
        overlayDOM = popper.getOverlayDOMNode()


      .then ({dom, element}) ->
        {overlay} = element.refs
        {popper} = overlay.refs
        fakePopoverShould('scrollHeight', dom, popper)
        Testing.actions.click(dom)
        overlayDOM = popper.getOverlayDOMNode()

