Fixing empty trace drawing.