Wacom pen not working, leaves weird tails at the end

Have you tried to disable double click distance in the wacom driver?
Your issue appears similar to the one in this post: How to fix this weird line - #9 by Rakurri

I remember windows ink causing some weird issues for me at some point, you could also try to disable this setting