Audio Lagging Behind Video

So I’ve just been playing around with the video option of Thunkable and made this piece of code:

Screen Shot 2021-07-29 at 7.25.44 PM

But for some strange reason the audio is lagging behind the Video!
Here’s what I think happens:
While the Video is loading (just shows a white screen before it cuts to the recording part), I think the sound starts to record before the video starts. I did some testing, and if I say anything before the actual video starts, it gets recorded.

Is there a workaround or fix for this?

(Error returns null).