Saved current ter_id in map::drawsq for less ter(x,y) calls