This happens in the second battle of the Against the Cockroaches module. This makes sense, only because the "door" is treated as a monster, and monster's don't block LOS, but the end result is pretty silly.
Maybe door's "immovable" trait could be replaced with a new trait named "Big Blocker" or something, which gives immovable and blocks LoS?