Fixed pan rotation bug in TouchImageView