SecondColor Bug by the use of "Wacom tablet"

I figured out the bug where both right-click and left-click become second-color.
There is no problem with careful work But I leave a message hoping that no one is surprised by the same problem.

This problem was discovered because of some of people’s the tablet usage habits.
(Like an example image)
bug

Bug occurs when the eraser tip entered the tablet’s recognition range,
And it lasts until the Brush tip is inside the recognition area of the tablet.
In other words, when a problem occurs, recognizing the Brush tip of the tablet pen solves the problem.

This isn’t common, but careful not to put the eraser tip on the tablet pad.

Will check and see if I can do something against this. Should be possible.