Fixed drawing graph bug.