Fix drawing issues.