Fix bug when dismiss MHGalleryImageViewerViewController