quick temporary hack to not crash with video elements