Switch to html img tags to get figure tags to work