properly drawing rectangles; must fix left corner and border