Fixing off by one when swapping tiles in tilemap.