SUMMARY On a Pen Display or an Android tablet, lifting the pen away from the screen while pressing down a pen button breaks the screen's touch gesture actions. For example, if I pressed down Middle Button to pan the canvas, and accidentally moved my pen too high and the digitizer lost the pen input, I was unable to rotate the canvas with two-finger gestures afterward. STEPS TO REPRODUCE 1. On a Pen Display or an Android tablet 2. Press down Middle Mouse button to pan canvas 3. Quickly lift the pen up, away from the range of the screen's digitizer 4. Do not put the pen back in range 5. Use two finger gestures to rotate the canvas OBSERVED RESULT I could not use two finger gestures to rotate the canvas. EXPECTED RESULT I should be able to use two finger gestures to rotate the canvas. SOFTWARE/OS VERSIONS 5.2.3 beta 1 and the latest nightly versions. It seems that if I lifted my pen slowly away from the range, it's less likely to break the touch gestures. But I could not reliably reproduce the phenomenon. During my test, there was one occasion under Android which I lost the Middle Button input afterward. I wonder if this has something to do with the issue.