Fixes for surface video export.