Mantis #3127: fix the spatial check in the rewritten algorithm

git-svn-id: svn://svn.icculus.org/fs2open/trunk@11157 387891d4-d844-0410-90c0-e4c51a9137d3