Fixed IsVisibleTo to properly account for doors.