fixed jerky movement when pinching and panning at same time