fixed a tilemap offset bug