Dazzling beam stops when it reaches an opaque tile.

Fixes #9116