Fix issue with cancel of dismiss animation on iOS8

See:
https://github.com/mariohahn/MHVideoPhotoGallery/issues/64
and
http://stackoverflow.com/questions/24830258/container-view-disappearing-
on-completetransition