Make for/next loops to skip objects with Destroyed or VisualOnly flag set.
(Fixed levels 53, 60, and 97 of FALLING puzzle set. Levels 78, 80, 81, 82, 84, and 86 still fail.)