adjusting xyhw of tiles