Fixed the Chrome video glitch when toggling.

Added a workaround to fix the Chrome video glitch when removing an
iframe, this happened when quickly toggling a video.