Small bug fix in ImagePagerActivity