make sure any unplaced figures get added if reach the end of the content