Fixing draw Bug.