handle point in polygon for overlapping obstacles
use inpoly for wall instead of intersection