Fix arrow error when pin is too close to the edge of the view when tapped.