Fix double menu sound in some cases when entering text

(I don't hear it, but this should fix it.)