Fix bug with saving images into container