When you click outside of the game area when the game is muted sound effects like opening the grimoire or switching pages get unmuted again. Music is still muted.
Seems like AudioListener.pause resets when you click out of the game for some reason. I uploaded a fix, thanks for reporting!