Fix transitionRectForIndex: when using image view

Thanks @vilanobi!