One further investigation I did find one wierd bug.
TF Items spots and TF Traps seem to give none tf mastery under certain conditions. That could explain a lower tf gain than intended.
I will fix that and update the script for mastery gain in the coming patch. Thanks a lot for pointing that out^^