Fixed potential undefined access error on iPad when releasing simultaneous zooming and dragging.