This issue has been fixed for Openfire 3.10.0. Nonetheless you probably want to configure the avatar node as persistent prior to publishing.
Unfortunately Openfire does not support XEP-0222 (publish-options), in order to set the node persistent in one request together with the publishing.