Fixed the bug when exporing with axes handles instead of figure handles

Fixed a bug occurring when using export_fig on axes handle for which the property `GraphicsSmoothing` does not exist.