Removed unused variable
Fix regression: generated clip was distorted.