Hi,
This issue keeps persisting in version 1.8.0.585.
It still breaks down when clicking back in the UI from another window, while using a pen tablet. The issue affects brush strokes going into straight lines, but also click-drag with the zoom tool stops working.
It does not do it when clicking back in the document area, or when using mouse only. Enabling Windows Ink in the Wacom mapping preferences does fix the issue, but in turn breaks the possibility of binding the modifier "Alt + R Click" or "Alt + R Click + L Click" to the pen buttons to easily change the brush size and hardness (Windows Ink interferes with these).
This bug is indeed a workflow-breaking issue for any artist using the software with a tablet, as we're constantly alt+tabbing to look at references or dragging new images in the document etc.. We should not have to be so careful not to click the UI when coming back to the program, and I believe fixing this bug should be one of the high priority tasks in upcoming releases.