Fixed drawing bug.