VE-1304: Fix for editing videos

It's a quick, solid, but not elegant fix.