Before XWIKI-19352, link indexing was done synchronously during the document save and therefore this issue didn't exist. Thus, this is actually a regression. When link indexing was made asynchronous (even before the move to Solr), it was discussed on the forum that document move operations should wait for the indexing to be complete. However, apparently, this was never implemented.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.