Solve Bug when drawing a ThickLine (Line was partly drawing on wrong y-Coordinates)