[htmlmixed mode] Clip script-type-finding slice start to zero

Issue #1209