Hey Justice.
Thanks a lot for that. It does work but I have to lift the pen up until the brush cursor disappears, instead of just lifting it off the screen.
I hope you guys find the mystical way to deal with palm rejection. In the mean time I'll try to get used to the new workflow