Added some debug info for drawing.