Fixes for mediaelement streams switching