Workaround broken textmark_images_reference