Fix thumbnail capture failing on short videos