Fix hooking MediaRecorder