Update src/org/andengine/extension/tmx/TMXLayer.java

The old method assumed that the tiles used in the TMX map were square.
This new method allows for non-square tiles.