restrict extracted tiles to grid limits when assembling