Seems to be visual only. On the "My Info" tab it does show that your mastery has improved by x % but sometimes it's like 1% and other times it'll be 97% but then the next game it'll come back to its original value
Idk maybe I'm doing something wrong -_-