I was looking at the code in LayerBase, and noticed that the get method for byte and int layers was:
return (int)(m_Tiles[x % m_nColumns, y % m_nRows]);
but for short it was only:
return (int)(m_Tiles[x,y]);
Same with GetTile and GetTileFrame. I assume this is an oversight?