Fixing StructuredText.getFirstImage(), fixes #32