Don't play menu sound on cancel if menu access is not allowed.

Fixes #289.