The most robust way to handle such issues is using As character placement of objects. This makes images/frames to be part of text flow, and makes their actual and internal placement consistent. In your case, I'd even use a borderless two-column table to organize everything.
Otherwise, just make sure that your frames are anchored in correct order (e.g., by making them anchored To character and moving anchors as required).