In FreeUnusedImages, move FinishLoadingImages call below the FreeImage loop