Added some changes in debugDraw