fixed vision bug allowing agents to see through walls