GRIM: Discard the distance on the z axis when checking collisions.
GRIM: Check collisions with invisible actors too. Fix #578.