Fix ImageFragment so that it closes when single tapped.