Close all Graphic devices when creating / saving PNGs