Fixed a drawing issue