Fix bug of element offset within tile