Improved getXTile() and getYTile() return values.