Correctly display MathML fallback images.

Also update inverting of colors in Night mode for math images.
Also fix possible bug (unrelated) when collapsing tables. On some devices
(i.e. mine) the "element.children === null" check doesn't work.

Change-Id: I3e10a9a5955e9ab7de5710f51456db79c4b25288