drawcorners better