Fixing problem in the LaTeXMLImage class

Change-Id: I13e4fbd1c3a8afd788bed6bd2351a0c23379fa7a