draw tiled rect fix