Fixed a drawing bug