Move Tilemap buffer init to a separate function that can be overloaded.
Tilemap fixes; adding tile offsets to tilemap.