Fixed automapping object region check.

Some proposed fixes for automapping issues with objects mentioned in #691.

Based on a very simple test the fixes seem to work in the orthogonal and normal isometric orientations. However, staggered isometric does not work as you would expect because of the layout of tiles in staggered and how tileToPixelCoords(QRectF) does the conversion.