add drawAutotileRectangle