When a task ends just before a week end day, the rectangle closing is under the week end transparency. It should be just before so that the black line displays really black and not black with a transparency layer on it.