Fixed a drawing bug.