When shouldDismissOnImageTap is YES and you tap the image the animation is performed twice with unpredictable results