I'm not active on GitHub so I'll post my bug report here.
I found an issue where picture content controls inside condition controls are not binding properly.
Here's the root exception's stack trace:
at com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.write(Unknown Source)
at com.sun.xml.internal.bind.v2.runtime.MarshallerImpl.marshal(Unknown Source)
at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(Unknown Source)
at org.docx4j.XmlUtils.marshaltoW3CDomDocument(XmlUtils.java:535)
The fix is pretty simple: change line 526 of BindingHandler to marshall run instead of ...