Fixed automapping object region check.
Merge pull request #697 from Roflraging/objectautomappingfix

Fixed automapping object region check