Fixed bug where a figure could be rendered inside a table
Updated q1