Ghosts don't trigger mousetraps.

Fixes #3997