Ensure that a decoded figure_element contains a figure
In cases where importing a file leads to a figure element with no figure, create a new figure and add it to the figure element.
In cases where importing a file leads to a figure element with no figure, create a new figure and add it to the figure element.