The mute button seems to set volume to 0 instead of muting. When enabling sound, it will set volume to 20 instead of the original volume it was at.
It works fine in the original fork here https://github.com/maoiscat/mpv-osc-modern. Clicking mute will turn off the sound and enabling will return to original volume.