Visual.Rec refuses to draw a perfect rectangle

I am using the following piece of code to create a rectangle:

thisObj = visual.Rect(window, 
size = (objWdList[0]*objectSzAdjList[objSzAdj],objHtList[0]*objectSzAdjList[objSzAdj]), lineWidth = penWidth, 
colorSpace = 'rgb', 
lineColor = (objCol,objCol,objCol), 
fillColor = (bgCol,bgCol,bgCol), 
pos = (thisHorizontalJitter,vtStimPos + thisVerticalJitter), 
ori = 0)

And instead of perfectly aligned corners, I am getting the following:

Please help me, if you do have any information.