Fix math for isBlockInSight.  Fixes #718 (client-side).