This extends the earlier fix to use the latest logic from Wine's wintab.c, to better handle eraser detection.