This modifier-subject mismatch is also called a dangling participle. "watching in horror" is the participle.
I fix it by moving the modified subject adjacent to the participle.
Watching in horror, we saw the arpartment building collapse before our eyes.