Fix microphone permission check.