Changed the definition and retrieval of the number of rows and columns.
Fixed an offset in the #drawTile method.
Forced update.