Fixed issues with new web audio api changes