A possible fix for https://github.com/ETHZLET/moodle-qtype_ddimageortext/issues/1